import { createRouter, createWebHistory } from 'vue-router'
import Login from '../views/neps/NepsLogin.vue'
import Register from '../views/neps/NepsRegister.vue'
import Screen from '../views/nepv/NepvScreen.vue'
import Home from '../views/HomeView.vue'
import nepgLogin from '../views/nepg/LoginView.vue'
import nepmLogin from '../views/nepm/NepmLogin.vue'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      name: 'Home',
      component: Home
    },
    {
      path: '/login',
      name: 'Login',
      component: Login
    },
    { path: '/register', name: 'Register', component: Register },
    {
      path: '/screen',
      name: 'Screen',
      component: Screen
      //meta: { requiresAuth: true }
    },
    {
      path: '/nepgLogin',
      name: 'NepgLogin',
      component: nepgLogin
    },
    {
      path: '/nepmLogin',
      name: 'NepmLogin',
      component: nepmLogin
    }
  ]
})

export default router
